#include "StdAfx.h"
#include "SingleKeyFilter.h"

SingleKeyFilter::SingleKeyFilter(const unsigned char* const scanCodes, size_t size)
{
    m_codes.assign(scanCodes, scanCodes + size);
}

SingleKeyFilter::SingleKeyFilter(const std::vector<unsigned char>& scanCodes)
{
    m_codes = scanCodes;
}
